package net.wwang.blog.controller.admin;

import net.wwang.blog.commons.global.ResponseResult;
import org.springframework.web.bind.annotation.*;

/**
 * @author WangWei
 * @date 2020/8/14
 */
@RestController
@RequestMapping(value = "/admin/comment")
public class CommentApi {

    @DeleteMapping(value = "/{commentId}")
    public  ResponseResult delComment(@PathVariable("commentId")String commentId){
        return  null;
    }


    @GetMapping(value = "/list")
    public ResponseResult getCommentList(@RequestParam("page")int page, @RequestParam("size")int size){
        return null;
    }

    @PutMapping(value = "/{commentId}")
    public ResponseResult topComment(@PathVariable("commentId")String commentId){
    return null;
    }
}
